package cn.lili.modules.promotion.service;

import cn.lili.common.vo.PageVO;
import cn.lili.modules.promotion.entity.dos.BlindboxRule;
import cn.lili.modules.promotion.entity.dto.search.CouponSearchParams;
import cn.lili.modules.promotion.entity.vos.BlindboxRuleVO;
import cn.lili.modules.promotion.entity.vos.CouponVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 盲盒规则 业务层
 *
 * @author xiangqian
 */
public interface BlindboxRuleService extends IService<BlindboxRule> {

    /**
     * 获取盲盒规则列表
     *
     * @param page       分页条件
     * @param queryParam 查询条件
     */
    Page<BlindboxRuleVO> getBlindboxRuleList(BlindboxRuleVO queryParam, PageVO page);

    /**
     * 根据商品ID查询盲盒规则
     *
     * @param goodsId 商品ID
     */
    BlindboxRule getBlindboxRule(String goodsId);
}